package com.study4j.common.exception;

import com.study4j.common.enums.IEnumCode;

/**
 * @description 自定义异常类
 * @author jiangbin
 */
public class ServerException extends BaseException {

	private static final long serialVersionUID = 1L;

	public ServerException() {
	}

	public ServerException(Throwable e) {
		super(e);
	}

	public ServerException(IEnumCode code) {
		super(code);
	}

	public ServerException(IEnumCode code, String message) {
		super(code, message);
	}

	public ServerException(IEnumCode code, String message, String solution) {
		super(code, message, solution);
	}

	public ServerException(String msg) {
		super(msg);
	}
}
